// 用户实体接口
export interface User {
  id: number;
  username: string;
  email: string;
  password?: string;
  avatar?: string;
  bio?: string;
  role?: string;
  createdAt: string;
  updatedAt: string;
}

// 创建用户请求接口
export interface CreateUserDto {
  username: string;
  email: string;
  password: string;
  avatar?: string;
  bio?: string;
}

// 更新用户请求接口
export interface UpdateUserDto {
  username?: string;
  email?: string;
  password?: string;
  avatar?: string;
  bio?: string;
}

// 用户响应接口
export interface UserResponseDto {
  id: number;
  username: string;
  email: string;
  avatar?: string;
  bio?: string;
  role?: string;
  createdAt: string;
  updatedAt: string;
}